﻿using System;
using System.Collections.Generic;
using System.Text;

namespace StProxyHelper.Entity
{
    [Serializable]
    public class HtmlDocument
    {
        private string _documentText;
        private long _contentLength;
        private Encoding _contentEncoding;

        /// <summary>
        /// Gets or sets the method that is used to encode the body of response.
        /// </summary>
        public Encoding ContentEncoding
        {
            get { return _contentEncoding; }
            set { _contentEncoding = value; }
        }

        /// <summary>
        /// Gets or sets the length of content retured by the request.
        /// </summary>
        public long ContentLength
        {
            get { return _contentLength; }
            set { _contentLength = value; }
        }

        /// <summary>
        /// Gets or sets the HTML contents from the request website.
        /// </summary>
        public string DocumentText
        {
            get { return _documentText; }
            set { _documentText = value; }
        }


        public HtmlDocument()
        { 
        }
    }
}
